Skip to content

Add Symfony 8 support#10

Open
fguimier wants to merge 3 commits into
bump-dependenciesfrom
feat/symfony-8-support
Open

Add Symfony 8 support#10
fguimier wants to merge 3 commits into
bump-dependenciesfrom
feat/symfony-8-support

Conversation

@fguimier

Copy link
Copy Markdown
  • Widen symfony/serializer and symfony/filesystem constraints to ^6.0|^7.0|^8.0
  • Refresh stale CI matrices (were PHP 8.1/8.2 x Symfony 6.0-6.2): phpunit on PHP 8.1 + 8.4, skeleton smoke test on PHP 8.4 x Symfony 7.4/8.1
  • Convert @dataProvider annotations to attributes (required by PHPUnit >= 12)
  • Update decode test expectations: PhpSpreadsheet 3.x toArray() returns formatted strings for numeric cells, matching current production behavior; the old typed expectations dated from the Symfony 6 / PhpSpreadsheet 1.x matrix

Tests pass on both symfony/serializer 7.4.14 and 8.1.1 (PHP 8.4).

Florian Guimier and others added 3 commits July 11, 2026 20:55
- Widen symfony/serializer and symfony/filesystem constraints to ^6.0|^7.0|^8.0
- Refresh stale CI matrices (were PHP 8.1/8.2 x Symfony 6.0-6.2):
  phpunit on PHP 8.1 + 8.4, skeleton smoke test on PHP 8.4 x Symfony 7.4/8.1
- Convert @dataProvider annotations to attributes (required by PHPUnit >= 12)
- Update decode test expectations: PhpSpreadsheet 3.x toArray() returns
  formatted strings for numeric cells, matching current production behavior;
  the old typed expectations dated from the Symfony 6 / PhpSpreadsheet 1.x matrix

Tests pass on both symfony/serializer 7.4.14 and 8.1.1 (PHP 8.4).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
The lock was resolved on PHP 8.4 (symfony/serializer 7.4 requires PHP >= 8.2),
which broke 'composer install' on the PHP 8.1 matrix job. Libraries should
not pin a lock: the phpunit workflow now runs 'composer update' so each
matrix PHP version resolves its own compatible dependency set
(8.1 -> serializer 6.4, 8.4 -> serializer 8.x). Cache key moved to
composer.json accordingly.

Note: the 'PHP Linting' workflow failure is pre-existing (since Jan 2026):
.php-cs-fixer.php-highest.php aborts unless it runs on PHP 8.1 while the
php-cs-fixer-ga docker image has moved to a newer PHP. Left for a
dedicated maintenance pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…track the lock

symfony/test-pack resolves PHPUnit 9.6 on PHP 8.1, which ignores the
#[DataProvider] attributes (metadata attributes require PHPUnit >= 10).
Require phpunit/phpunit ^10.5||^11||^12||^13 directly instead - the test
suite only uses plain TestCase. Also actually removes composer.lock from
the index (the previous commit re-added it by mistake).

Verified: PHP 8.1 platform resolves PHPUnit 10.5 / serializer 6.4;
PHP 8.4 resolves PHPUnit 13 / serializer 8.1 - tests 4/4 on 8.4.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant